#!/bin/bash
export JAVA_HOME=/data/servers/jdk17
export PATH=$JAVA_HOME/bin:$PATH


## 这里要用绝对径

nohup java -jar -server /data/servers/gateway/cyj-gateway-1.0.0.jar >nohup.out 2>&1 &
echo "启动成功"